<HTML>

<%
	String domain = request.getParameter("domain");
	String search = "";
	String list = "";
	if (domain == null || "".equals(domain)) {
		search = "welcome.gsp";
		list = "welcome.gsp";
	} else {
		search = domain + "/search";
		list = domain + "/list";
	}
	out.print("domain"+domain);
%>

	<FRAMESET ROWS="85%, 0%,*">
		
		<FRAME name="search" src="<%=search%>" frameborder="0">
		
		<FRAME name="list" src="<%=list %>/" frameborder="0">
		
		<FRAME name="bottom" src="" frameborder="0">

	</FRAMESET>
	
</HTML>
